package com.intertid.szjk.Ws;



public class AttachInfo {

	
	
	
	
	
	private Long id;
	private String cmsFileName;
	private String ecmFileName;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCmsFileName() {
		return cmsFileName;
	}

	public void setCmsFileName(String cmsFileName) {
		this.cmsFileName = cmsFileName;
	}

	public String getEcmFileName() {
		return ecmFileName;
	}

	public void setEcmFileName(String ecmFileName) {
		this.ecmFileName = ecmFileName;
	}

	@Override
	public boolean equals(Object object) {
		if (object instanceof AttachInfo) {
			if (this.cmsFileName.equals(((AttachInfo) object).getCmsFileName())
					&& this.ecmFileName.equals(((AttachInfo) object)
							.getEcmFileName())) {
				return true;
			}
		}

		return false;
	}
	
	@Override
	public String toString() {
		return this.id + "|" + this.cmsFileName + "|" + this.ecmFileName; 
	}
	
	
	
	
	
}
